package wangwang

import (
	"github.com/bububa/opentaobao/core"
	"github.com/bububa/opentaobao/model/wangwang"
)

// TaobaoWangwangAbstractInitialize 模糊查询服务初始化
// taobao.wangwang.abstract.initialize
//
// 模糊查询服务初始化，只支持json返回
func TaobaoWangwangAbstractInitialize(clt *core.SDKClient, req *wangwang.TaobaoWangwangAbstractInitializeAPIRequest, session string) (*wangwang.TaobaoWangwangAbstractInitializeAPIResponse, error) {
	var resp wangwang.TaobaoWangwangAbstractInitializeAPIResponse
	err := clt.Post(req, &resp, session)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
